<?php
if(isset($_POST['query'])){
	
$con = mysql_connect('localhost','plotkinm', 'FaceBooK', 'plotkinm_db');
$select = mysql_select_db($db, $con);

$query = $_POST['query'];
$mysql_query = mysql_query('SELECT * FROM US_Zip_Codes WHERE city = Holtsville');
	
while ($row = mysql_fetch_assoc($mysql_query)){
	$array[] = $row['county'];
	 }
	 echo json_encode($array);
}
?>